<html xmlns:th="http://www.thymeleaf.org">
<!--/*@thymesVar id="baseConfigForm" type="com.bean.BaseConfig"*/-->
<div class="bjui-row col-1" th:fragment="form">

    <label class="row-label">客户端</label>
    <div class="row-input required">
        <select name="clientId" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="client : ${clientList}"
                    th:value="${client.id}" th:text="${client.name}"
                    th:selected="${client.id}==${businessTaskDetailForm.DeviceClient.id}">
            </option>
        </select>
    </div>

    <label class="row-label">虚拟机</label>
    <div class="row-input required">
        <select name="vmId" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="vm : ${vmList}"
                    th:value="${vm.id}" th:text="${vm.virtualMac}"
                    th:selected="${vm.id}==${businessTaskDetailForm.DeviceVirtual.id}">
            </option>
        </select>
    </div>

    <label class="row-label">苹果账号</label>
    <div class="row-input required">
        <select name="appleId" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="apple : ${appleIdList}"
                    th:value="${apple.id}" th:text="${apple.appleId}"
                    th:selected="${apple.id}==${businessTaskDetailForm.BusinessApple.id}">
            </option>
        </select>
    </div>

    <label class="row-label">五码</label>
    <div class="row-input required">
        <select name="wuma" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="wuma : ${wumaList}"
                    th:value="${wuma.id}" th:text="${wuma.productName}"
                    th:selected="${wuma.id}==${businessTaskDetailForm.BusinessWuma.id}">
            </option>
        </select>
    </div>

    <label class="row-label">命令</label>
    <div class="row-input required">
        <select name="cmd" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="cmd : ${cmdList}"
                    th:value="${cmd.code}" th:text="${cmd.display}"
                    th:selected="${cmd.code}==${businessTaskDetailForm.state.code}">
            </option>
        </select>
    </div>

    <label class="row-label">所有号码</label>
    <div class="row-input required">
        <textarea name="allPhone" style="width:700px;height: 100px;"
                  th:text="${businessTaskDetailForm.allPhone}"></textarea>
    </div>
    <label class="row-label">名称</label>
    <div class="row-input required">
        <input type="text" name="name" style="width:400px;" th:value="${businessTaskDetailForm.name}"
               data-rule="required">
    </div>
    <label class="row-label">图片地址</label>
    <div class="row-input required">
        <input type="text" name="imgAddr" style="width:400px;" th:value="${businessTaskDetailForm.imgAddr}"
               data-rule="required">
    </div>
    <label class="row-label">消息</label>
    <div class="row-input required">
        <textarea name="msg" style="width:700px;height: 100px;" th:text="${businessTaskDetailForm.msg}"></textarea>
    </div>
    <label class="row-label">类型</label>
    <div class="row-input required">
        <select name="msgType" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="msgType : ${msgTypeList}"
                    th:value="${msgType.code}" th:text="${msgType.display}"
                    th:selected="${msgType.code}==${businessTaskDetailForm.type.code}">
            </option>
        </select>
    </div>

    <label class="row-label">scp账号</label>
    <div class="row-input">
        <input type="text" name="username" style="width:400px;" th:value="${businessTaskDetailForm.username}">
    </div>
    <label class="row-label">scp密码</label>
    <div class="row-input">
        <input type="text" name="passwd" style="width:400px;" th:value="${businessTaskDetailForm.passwd}">
    </div>
    <label class="row-label">zip文件名</label>
    <div class="row-input">
        <input type="text" name="zipFileName" style="width:400px;" th:value="${businessTaskDetailForm.zipFileName}">
    </div>
    <label class="row-label">下载文件地址</label>
    <div class="row-input">
        <input type="text" name="downFileAddr" style="width:400px;" th:value="${businessTaskDetailForm.downFileAddr}">
    </div>
    <label class="row-label">上传文件地址</label>
    <div class="row-input">
        <input type="text" name="uploadFileAddr" style="width:400px;"
               th:value="${businessTaskDetailForm.uploadFileAddr}">
    </div>

    <label class="row-label">备注</label>
    <div class="row-input ">
        <input type="text" name="remark" style="width:400px;" th:value="${businessTaskDetailForm.remark}">
    </div>
    <label class="row-label">状态</label>
    <div class="row-input required">
        <select name="state" data-toggle="selectpicker" data-rule="required">
            <option style="width:300px;height:100%" value="">请选择</option>
            <option th:each="status,statusStat : ${statusList}"
                    th:value="${status.code}" th:text="${status.display}"
                    th:selected="${status.code}==${businessTaskDetailForm.state.code}">
            </option>
        </select>
    </div>

</div>

